package com.ruoyi.finance.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开票商品对象 invoice_goods
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
public class InvoiceGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String commodityName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specificationModel;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal taxRate;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal danPrice;

    /** 税收分类码 */
    @Excel(name = "税收分类码")
    private String taxClassificationCode;

    /** 征税项目 */
    @Excel(name = "征税项目")
    private Long levyItem;

    /** 计税方法 */
    @Excel(name = "计税方法")
    private Long taxCalculationMethod;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommodityName(String commodityName) 
    {
        this.commodityName = commodityName;
    }

    public String getCommodityName() 
    {
        return commodityName;
    }
    public void setSpecificationModel(String specificationModel) 
    {
        this.specificationModel = specificationModel;
    }

    public String getSpecificationModel() 
    {
        return specificationModel;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setTaxRate(BigDecimal taxRate) 
    {
        this.taxRate = taxRate;
    }

    public BigDecimal getTaxRate() 
    {
        return taxRate;
    }
    public void setDanPrice(BigDecimal danPrice) 
    {
        this.danPrice = danPrice;
    }

    public BigDecimal getDanPrice() 
    {
        return danPrice;
    }
    public void setTaxClassificationCode(String taxClassificationCode) 
    {
        this.taxClassificationCode = taxClassificationCode;
    }

    public String getTaxClassificationCode() 
    {
        return taxClassificationCode;
    }
    public void setLevyItem(Long levyItem) 
    {
        this.levyItem = levyItem;
    }

    public Long getLevyItem() 
    {
        return levyItem;
    }
    public void setTaxCalculationMethod(Long taxCalculationMethod) 
    {
        this.taxCalculationMethod = taxCalculationMethod;
    }

    public Long getTaxCalculationMethod() 
    {
        return taxCalculationMethod;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commodityName", getCommodityName())
            .append("specificationModel", getSpecificationModel())
            .append("unit", getUnit())
            .append("taxRate", getTaxRate())
            .append("danPrice", getDanPrice())
            .append("taxClassificationCode", getTaxClassificationCode())
            .append("levyItem", getLevyItem())
            .append("taxCalculationMethod", getTaxCalculationMethod())
            .toString();
    }
}
